package edu.sctu.practice.class02.zhaozhongjun.assign2;

/**
 * Created by 赵中军 on 2015/10/8.
 */
public class Circle {
   private double radius;
    public double p=3.14;
    public static int numOfObjects=0;
    public double area;
    public Circle(double radius) {

        this.radius = radius;

        numOfObjects++;
    }
   public static int count(){
       return numOfObjects;
   }
    public double quadrature(){
        System.out.println("半径"+radius );
        area=p*radius*radius;
         return area;
    }
}
